package com.prs.crm.dao.crm;

import java.util.List;

import com.prs.crm.dao.BaseDao;
import com.prs.crm.domain.crm.CustomerContract;
import com.prs.crm.domain.crm.CustomerSupplier;
import com.prs.crm.domain.crm.SupplierFoods;

public interface SupplierFoodsDao extends BaseDao<SupplierFoods>{
	/**
	 * 根据供应商查询货物
	 * @param customerSupplier
	 * @return
	 */
	List<SupplierFoods> getSupplierFoodsBySupplier(CustomerSupplier customerSupplier);
	/**
	 * 根据合同查询货物
	 * @param customerContract
	 * @return
	 */
	List<SupplierFoods> getSupplierFoodsByContract(CustomerContract customerContract);
}
